Piwik\Plugins\UserCountry\API S

Total Complexity 41
Dependencies 16
Dependents 0
Total lines 391
Lines of code 239
Logical lines of code 158
Comment lines 69
Methods 10
Properties 0

Methods 10

Method Rating Maintainability Complexity Lines of code
getCity()
A
38 8 72
getRegion()
A
41 8 56
shouldRegionCodesBeConvertedToIso()
A
51 8 27
getCountry()
S
51 5 26
getLocationFromIP()
S
55 5 20
setLocationProvider()
S
64 3 10
getContinent()
S
65 1 8
getCountryCodeMapping()
S
66 1 8
getDataTable()
S
68 1 7
getNumberOfDistinctCountries()
S
72 1 5